package com.xplay.xpocker.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xplay.xpocker.entity.GameHiMahjongAction;
import com.xplay.xpocker.entity.GameHiRoom;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xplay.xpocker.entity.GameHiRoomDTO;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author xplay
 * @since 2024-05-12
 */
public interface GameHiRoomService extends IService<GameHiRoom> {

    public void addHistory(GameHiRoomDTO hiRoomDTO);

    Page<GameHiRoomDTO> queryUserHistory(Page<GameHiRoomDTO> page,BigDecimal userId);



    List<GameHiRoomDTO> queryUserHistoryRoomItemList(BigDecimal userId);

    List<GameHiMahjongAction> recodeHistoryInfo(BigDecimal roomId, Integer severalInning);
}
